@if (count($errors) > 0)
    <div class="alert alert-danger">
        <strong>Whoops!</strong> There were some problems with your input.<br><br>
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
    @elseif(Session::has('uploadImage'))
        <div class="alert alert-success  ">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            {{session('uploadImage')}}
        </div>
    @endif
